<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$config.web_name}{notempty name="web.title"}-{$web.title}{/notempty}</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="renderer" content="webkit|ie-comp|ie-stand"/><!--默认使用浏览器急速内核-->
    <meta name="robots" content="index,follow" />
    <meta http-equiv="Cache-Control" content="no-siteapp,no-transform" />
    <meta name ="viewport" content ="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <!--<meta name ="viewport" content ="width=1000">-->
    <meta name="author" content="{$config.author}"/>
    <meta name="format-detection" content="telephone=no,email=no" />
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="keywords" content="{$config.keywords}，{$data.keywords|default=''}">
    <meta name="description" content="{$config.describe}">
    <link rel="shortcut icon" href="/favicon.ico" />
    <link href="__SHOUCAI__/css/style.css" rel="stylesheet" type="text/css"/>
    {block name="css"}{/block}

</head>
<script>
</script>
<body class="body">
<!--header-->
<div class="header">
    <div class="header_t">
        <div class="wrap clear">
            <p class="fl">欢迎光临首彩官网！</p>
            <ul class="fr">
                <li class="on"><a href="">中</a></li>
                <!--<li><a href="">英</a></li>
                <li><a href="">繁</a></li>-->
            </ul>
            <a class="fw fr" href="{:url('anti/anti')}">防伪查询</a>
        </div>
    </div>
    <div class="header_b">
        <div class="wrap clear">

            <a href="{:url('index/index')}" class="logo fl"><img src="{$config.web_logo}"/></a>
            <div class="menu">
                <span class="sp1"></span>
                <span class="sp2"></span>
                <span class="sp3"></span>
            </div>
            <div class="fr header_search">
                <p>搜索</p>
                <div class="header_search_wrap clear">
                    <form action="{:url('search/search')}" method="post">
                        <input type="button" class="fl" onclick="if($(form.keywords).val()) form.submit();"/>
                        <input type="text" class="fl" name="keywords" placeholder="请输入搜索内容" value="{$search_ele.keywords|default=''}"/>
                    </form>
                </div>
            </div>
            <ul class="nav fr">
                <li><a href="{:url('index/index')}">首頁</a></li>
                <li><a href="{:url('brand/brand')}">品牌中心</a></li>
                <li><a href="{:url('goods/index')}?cat_id=48">産品中心</a></li>
                <li><a href="{:url('news/index')}">信息中心</a></li>
                <li><a href="{:url('college/college')}">葡萄酒學院</a></li>
                <li><a href="{:url('fund/detail')}">愛心基金</a></li>
                <li><a href="{:url('about/aboutDomain')}">關于我們</a></li>
            </ul>
        </div>
    </div>
</div>


<!--主体内容-->
{block name="content"}{/block}


<!--footer-->
<div id="footer" class="footer"></div>

<div class="footer_t">
    <div class="wrap clear">
        <div class="footer_tl fl">
            <h4>地址</h4>
            <p>{$config.address}</p>
            <p>电话：{$config.tel}</p>
            <div class="footer_share">
                <ul class="clear">
                    <li><a href="{$config.weibo_url}" target="_blank"><img src="__SHOUCAI__/images/share_01.png" title="微博"/></a></li>
                    <li><a href="{$config.wechat_url}" target="_blank"><img src="__SHOUCAI__/images/share_02.png" title="微信"/></a></li>
                    <li><a href="{$config.tmall_url}" target="_blank"><img src="__SHOUCAI__/images/tm_06.png" title="天猫"/></a></li>
                </ul>
            </div>
        </div>
        <div class="footer_tc fl">
            <h4>欄目信息</h4>
            <ul class="clear">
                <li>
                    <dl>
                        <dd><a href="{:url('brand/brand')}">品牌中心</a></dd>
                        <dd><a href="{:url('goods/index')}?cat_id=48">産品中心</a></dd>
                        <dd><a href="{:url('news/index')}">信息中心</a></dd>
                        <dd><a href="{:url('activity/index')}">活动中心</a></dd>
                    </dl>
                </li>
                <li>
                    <dl>
                        <dd><a href="{:url('college/college')}">葡萄酒學院</a></dd>
                        <dd><a href="{:url('fund/detail')}">愛心基金</a></dd>
                        <dd><a href="{:url('about/aboutDomain')}">關于我們</a></dd>
                        <dd><a href="{:url('Guide/faq')}">常見問題</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
        <div class="footer_tr fr">
            <h4>常見問題</h4><br/>
            <a href="{:url('Guide/faq')}" class="more_btn">閱讀我們的常見問題</a>
            <p>或拨打 4008 800 939聯系我們</p>
        </div>
    </div>
</div>
<div class="footer_b">
    <div class="wrap">
        <p>Copyright© 2004-2016 HANDPICKED® WINES</p>
        <p>深圳市首彩葡萄酒股份有限公司 版权所有 粤ICP备07509344号-1</p>
    </div>
</div>
<!--<a class="to_top">
    Back Top
</a>-->

<script src="__SHOUCAI__/js/jquery-1.12.3.min.js" type="text/javascript"></script>
<script src="__SHOUCAI__/js/jquery.SuperSlide.2.1.2.js" type="text/javascript"></script>
<script src="__SHOUCAI__/js/public.js"></script>
<!--[if lte IE 8]><script src="http://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script><![endif]-->
<!--[if lte IE 8]><script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script><![endif]-->

<script>
    $(function(){
        var url=window.location.pathname;
        var i=-1;
        if(url.indexOf('/index/index')!=-1){
            i=0
        }else if(url.indexOf('/brand/')!=-1){
            i=1
        }else if(url.indexOf('/goods/')!=-1){
            i=2
        }else if(url.indexOf('/news/')!=-1){
            i=3
        }else if(url.indexOf('/college/')!=-1){
            i=4
        }else if(url.indexOf('/fund/')!=-1){
            i=5
        }else if(url.indexOf('/about/')!=-1){
            i=6
        }else{
            i=999;
        }

        var nl= $(".nav li");
        nl.eq(i).addClass("on").siblings("li").removeClass("on");
        if($(window).width()<1024){
            /*ja(0);
            ja(3);
            ja(4);
            ja(5);
            ja(6);*/
            nl.click(function(){
                var dl=$(this).find('dl');
                dl.slideToggle(200);
                $(this).siblings().find('dl').slideUp(200)
            });
        }else{
            nl.hover(function(){
                if($(this).find('dl').css('display')=='none'){
                    $(this).find('dl').slideDown(100)
                }
            },function(){
                if($(this).find('dl').css('display')=='block'){
                    $(this).find('dl').slideUp(100)
                }
            });
        }

        $('.menu').click(function(){
            $(this).toggleClass('on');
            $('.nav').slideToggle(300);
        });
        $('.en').hover(function(){
            $(this).addClass('on').siblings().removeClass('on');
        },function(){
            $(this).removeClass('on').siblings().addClass('on');
        })
    });
    function ja(n){
//        $('.nav li>a').eq(n).attr('href','javascript:void(0);')
    }
</script>
<script>
    $(function(){
        if($(window).width()>500){
            $('.footer_b p br').remove();
        }
    })
</script>
<script>
    //banner
    $(window).load(function(){
        jQuery(".index_banner_wrap").slide({mainCell:".bd ul",titCell:'.hd ul',effect:"leftLoop",autoPlay:true,autoPage:true,interTime:4500,delayTime:600});
    })

</script>
{block name="script"}{/block}
</body>
</html>
